import Cookies from "js-cookie"
export function setToken (value) {
  Cookies.set('token', value)
}

export function getToken () {
  return Cookies.get('token')
}
export function clearToken () {
  // 清楚cookie 是给该cookie设置时间之前
  return Cookies.remove('token')
}
